The _nnnn_eeee_wwww_pppp_aaaa_dddd routine creates and returns a pointer to a new pad data
structure with the given number of lines, _n_l_i_n_e_s, and columns, _n_c_o_l_s. A
pad is like a window, except that it is not necessarily associated with a
viewable part of the screen. Automatic refreshes of pads (e.g., from
scrolling or echoing of input) do not occur. It is not legal to call
_wwww_rrrr_eeee_ffff_rrrr_eeee_ssss_hhhh with a _p_a_d as an argument; the routines _pppp_rrrr_eeee_ffff_rrrr_eeee_ssss_hhhh or _pppp_nnnn_oooo_uuuu_tttt_rrrr_eeee_ffff_rrrr_eeee_ssss_hhhh
should be called instead. Note that these routines require additional
parameters to specify the part of the pad to be displayed and the
location on the screen to be used for the display.
The _ssss_uuuu_bbbb_pppp_aaaa_dddd routine creates and returns a pointer to a subwindow within a
pad with the given number of lines, _n_l_i_n_e_s, and columns, _n_c_o_l_s. Unlike
_ssss_uuuu_bbbb_wwww_iiii_nnnn, which uses screen coordinates, the window is at position
(_b_e_g_i_n__x_,,,, _b_e_g_i_n__y) on the pad. The window is made in the middle of the
window _o_r_i_g, so that changes made to one window affect both windows.
During the use of this routine, it will often be necessary to call
_tttt_oooo_uuuu_cccc_hhhh_wwww_iiii_nnnn or _tttt_oooo_uuuu_cccc_hhhh_llll_iiii_nnnn_eeee on _o_r_i_g before calling _pppp_rrrr_eeee_ffff_rrrr_eeee_ssss_hhhh.
The _pppp_rrrr_eeee_ffff_rrrr_eeee_ssss_hhhh and _pppp_nnnn_oooo_uuuu_tttt_rrrr_eeee_ffff_rrrr_eeee_ssss_hhhh routines are analogous to _wwww_rrrr_eeee_ffff_rrrr_eeee_ssss_hhhh and
_wwww_nnnn_oooo_uuuu_tttt_rrrr_eeee_ffff_rrrr_eeee_ssss_hhhh except that they relate to pads instead of windows. The
additional parameters are needed to indicate what part of the pad and
screen are involved. _p_m_i_n_r_o_w and _p_m_i_n_c_o_l specify the upper left-hand
corner of the rectangle to be displayed in the pad. _s_m_i_n_r_o_w, _s_m_i_n_c_o_l,
_s_m_a_x_r_o_w, and _s_m_a_x_c_o_l specify the edges of the rectangle to be displayed
on the screen. The lower right-hand corner of the rectangle to be
displayed in the pad is calculated from the screen coordinates, since the
rectangles must be the same size. Both rectangles must be entirely
contained within their respective structures. Negative values of
_p_m_i_n_r_o_w, _p_m_i_n_c_o_l, _s_m_i_n_r_o_w, or _s_m_i_n_c_o_l are treated as if they were zero.
The _pppp_eeee_cccc_hhhh_oooo_cccc_hhhh_aaaa_rrrr routine is functionally equivalent to a call to _aaaa_dddd_dddd_cccc_hhhh
followed by a call to _rrrr_eeee_ffff_rrrr_eeee_ssss_hhhh, a call to _wwww_aaaa_dddd_dddd_cccc_hhhh followed by a call to
_wwww_rrrr_eeee_ffff_rrrr_eeee_ssss_hhhh, or a call to _wwww_aaaa_dddd_dddd_cccc_hhhh followed by a call to _pppp_rrrr_eeee_ffff_rrrr_eeee_ssss_hhhh_.... The
knowledge that only a single character is being output is taken into
consideration and, for non-control characters, a considerable performance
gain might be seen by using these routines instead of their equivalents.
In the case of _pppp_eeee_cccc_hhhh_oooo_cccc_hhhh_aaaa_rrrr, the last location of the pad on the screen is
reused for the arguments to _pppp_rrrr_eeee_ffff_rrrr_eeee_ssss_hhhh.
The _pppp_eeee_cccc_hhhh_oooo_wwww_cccc_hhhh_aaaa_rrrr routine is functionally equivalent to a call to _aaaa_dddd_dddd_wwww_cccc_hhhh
followed by a call to _rrrr_eeee_ffff_rrrr_eeee_ssss_hhhh, a call to _wwww_aaaa_dddd_dddd_wwww_cccc_hhhh followed by a call to
_wwww_rrrr_eeee_ffff_rrrr_eeee_ssss_hhhh, or a call to _wwww_aaaa_dddd_dddd_wwww_cccc_hhhh followed by a call to _pppp_rrrr_eeee_ffff_rrrr_eeee_ssss_hhhh_....
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
Routines that return an integer return _EEEE_RRRR_RRRR upon failure and an integer
value other than _EEEE_RRRR_RRRR upon successful completion.
Routines that return pointers return _NNNN_UUUU_LLLL_LLLL on error.
NNNNOOOOTTTTEEEESSSS
The header file _<<<<_cccc_uuuu_rrrr_ssss_eeee_ssss_...._hhhh_>>>> automatically includes the header files
_<<<<_ssss_tttt_dddd_iiii_oooo_...._hhhh_>>>> and _<<<<_uuuu_nnnn_cccc_tttt_rrrr_llll_...._hhhh_>>>>.
Note that _pppp_eeee_cccc_hhhh_oooo_cccc_hhhh_aaaa_rrrr may be a macro.